package com.site.wisdom_construction.entity.partyConstructionModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-01-19 
 */
@ApiModel (value ="党建宣传图片表实体类",description = "PartyConstructionPhoto")
public class PartyConstructionPhoto {
	/**
	 * 党建宣传图片表id
	 */
   	@ApiModelProperty(value = "党建宣传图片表id", name = "id")
	private Integer id;

	/**
	 * 项目id
	 */
   	@ApiModelProperty(value = "项目id", name = "projectId")
	private Integer projectId;

	/**
	 * 党建宣传图片标题
	 */
   	@ApiModelProperty(value = "党建宣传图片标题", name = "pictureTitle")
	private String pictureTitle;

	/**
	 * 党建宣传图片
	 */
   	@ApiModelProperty(value = "党建宣传图片", name = "photoImg")
	private String photoImg;

	/**
	 * 上传时间
	 */
   	@ApiModelProperty(value = "上传时间", name = "uploadTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date uploadTime;

	/**
	 * 上传人
	 */
   	@ApiModelProperty(value = "上传人", name = "uploadPerson")
	private String uploadPerson;

	public PartyConstructionPhoto(){ super(); }

	public PartyConstructionPhoto(Integer id, Integer projectId, String pictureTitle, String photoImg, Date uploadTime, String uploadPerson) {
		this.id = id;
		this.projectId = projectId;
		this.pictureTitle = pictureTitle;
		this.photoImg = photoImg;
		this.uploadTime = uploadTime;
		this.uploadPerson = uploadPerson;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return this.projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getPictureTitle() {
		return this.pictureTitle;
	}

	public void setPictureTitle(String pictureTitle) {
		this.pictureTitle = pictureTitle;
	}

	public String getPhotoImg() {
		return this.photoImg;
	}

	public void setPhotoImg(String photoImg) {
		this.photoImg = photoImg;
	}

	public Date getUploadTime() {
		return this.uploadTime;
	}

	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}

	public String getUploadPerson() {
		return this.uploadPerson;
	}

	public void setUploadPerson(String uploadPerson) {
		this.uploadPerson = uploadPerson;
	}

	@Override
	public String toString() {
		return "{" +
				"id='" + id + '\'' +
				", projectId='" + projectId + '\'' +
				", pictureTitle='" + pictureTitle + '\'' +
				", photoImg='" + photoImg + '\'' +
				", uploadTime='" + uploadTime + '\'' +
				", uploadPerson='" + uploadPerson + '\'' +
				'}';
	}
}
